package com.j1ay.forum.model.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Author J1ay
 * @Date 2021/12/14 20:46
 * @Description 问题表
 */

@Data
@TableName("tb_question")
public class Question {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String title;
    private String content;
    private String username;
    private Integer praise;
    private Long typeId;
    private Integer status;
    private Long agreeId;
    private Integer zhiding;
    private Integer viewCount;
    private Integer answerCount;
    private Date createTime;
    private Date updateTime;

}
